home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / misc-part1 / 2081 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.6 KB  |  36 lines

  1. Path: news.uit.no!news
  2. From: borgen@hstud2.cs.uit.no (B°rge N°st)
  3. Newsgroups: comp.sys.amiga.misc
  4. Subject: Re: OS features
  5. Date: 18 Jan 1996 00:14:02 GMT
  6. Organization: University of Tromsoe, Norway
  7. Message-ID: <1144.6590T1433T1016@hstud2.cs.uit.no>
  8. References: <92747544038@PAPA.NORTH.DE> <4b3h9s$1st@alterdial.UU.NET>
  9.     <m4d20p0mn2v.fsf@freud.hut.fi> <4dgch8$rkf@hermes.louisville.edu>
  10. NNTP-Posting-Host: hstud0.cs.uit.no
  11. X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
  12.  
  13. > What I was thinking was more along the lines of modifying
  14. >LoadSeg() to put the code segments into protected memory and everything else
  15. >in a public area.  Obviously, flags of the above sort would/could be useful
  16. >for future programs.
  17.  
  18. Not only useful, but bloody required.
  19. a) Modifying code is legal as long as cache consitency is handled.
  20. b) Code generation is legal (also needs cache avareness).
  21. c) You can have _variables_ inside the code segment!
  22.  
  23. I suggested 3-4 years back that pure programs could be protected, but because
  24. of c) this was shot down. (The application set forth was an execution counter
  25. or current instances counter. Probably used by _very_ few programs so the
  26. idea would be worth testing.)
  27.  
  28. >Usually, bad pointers to the OS point to $0 and enforcer has done wonders for
  29. >developers to find those (and also wonders for users to keep the system up!)
  30. >and I don't see why enforcer type protection shouldn't be added to the OS.
  31.  
  32. You could add protection of free memory today without any major applications
  33. breaking. MungWall is the only one that comes to my mind, but that is kinda
  34. ok as it tries to perform the same task.
  35.  
  36.